package com.bird.设计模式.创建型.抽象工厂;

/**
 * @data 2022/2/13 16:00
 * @author: bird
 * @description: 具体的创建者 具体的工厂 JavaCourseFactory工厂专门java相关的课程.
 */
public class JavaCourseFactory implements CourseFactory {
    @Override
    public Video getVideo() {
        return new JavaVideo();
    }

    @Override
    public Article getArticle() {
        return new JavaArticle();
    }
}
